Make it possible to specify additional modules to load via a setting.
authorMatthias Clasen <mclasen@redhat.com>
Wed, 1 Sep 2004 20:30:24 +0000 (20:30 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 1 Sep 2004 20:30:24 +0000 (20:30 +0000)
commit8189921f446a585398d8df69d589b6003ccbffdb
tree92dcb32a0d29888b23f82d91b61615a21b2b5317
parent0ac4f2837a6e8d57f79846f4cef65658122264b5
Make it possible to specify additional modules to load via a setting.

2004-09-01  Matthias Clasen  <mclasen@redhat.com>

Make it possible to specify additional modules to load
via a setting.  (#117236, Alex Graveley)

* gtk/gtkmodules.h:
* gtk/gtkmodules.c: New files which contain the module
handling code which was previously in gtkmain.[hc].
Additionally, the code now looks for the gtk-modules
setting, which can specify additional modules to load.

* gtk/gtkmain.c:
* gtk/gtkmain.h: Remove all the module handling code.

* gtk/gtkdebug.h: Add a debug flag for modules.

* gtk/gtk.h: Include gtkmodules.h

* gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h
(gtk_c_sources): Add gtkmodules.c

* gtk/gtksettings.c: Add the gtk-modules setting.

* gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting.
13 files changed:
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/x11/gdkevents-x11.c
gtk/Makefile.am
gtk/gtk.h
gtk/gtkdebug.h
gtk/gtkmain.c
gtk/gtkmain.h
gtk/gtkmodules.c [new file with mode: 0644]
gtk/gtkmodules.h [new file with mode: 0644]
gtk/gtksettings.c